import request from "@/utils/request";

// 获取评论数据
export const cmtList = (params) => {
    return request({
        url: '/v1_0/comments',
        params
    })
}

//发表评论
export const sendCmt = (data) => {
    return request({
        url: '/v1_0/comments',
        method: 'post',
        data
    })
}